package com.flejay.dreamrecruiter.model;


/**
 * Represente un sous bloc du CV
 * 
 * @author Victor Fleurant
 *
 */
public final class SubBlock extends AbstractBlock{

	private String startDate;
	private String endDate;
	
	private SubBlock(){
		super();
	}
	
	public static SubBlock getNewInstance(){
		SubBlock subBlock = new SubBlock();
		subBlock.setAssociatedTag(null);
		subBlock.setContent(new StringBuffer());
		subBlock.startDate = "";
		subBlock.endDate = "";
		return subBlock;
	}

	public String getStartDate() {
		return startDate;
	}

	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}	
}
